<template>
  <div id="app">
    <keep-alive>
      <router-view></router-view>
    </keep-alive>
  </div>
</template>

<style>
html {
  height: 100vh;
}
body {
  margin: 0;
  padding: 0;
  color: #666;
  height: 100%;
}
#app {
  /* 组件区域顶满页面 */
  height: 100%;
}
</style>
